<!doctype html>
<html dir="ltr" lang="en-US">
	<?php get_header('head'); ?>
	<body>
		<?php 
			get_header('nav');
			
			$category = dominant_category('slug');
			
			// if category specific single loop exists, use it, otherwise use default single loop
			if (locate_template("loop-$category.php"))
				get_template_part('loop', $category);
			else {
				// echo "<p>looks like there's no loop-$category.php file, so we're loading the default loop</p>";
				get_template_part('loop', 'single');
			}
		?>
		
		<script type="text/javascript" src="<?php bloginfo('template_directory') ?>/js/image_width.js"></script>
		
		<?php get_footer();?>
	</body>
</html>
